From 479c02a43b4f3ca3cb96285dfa39593505fd66b9 Mon Sep 17 00:00:00 2001 From: Holger Berndt Date: Thu, 17 May 2012 16:12:55 +0200 Subject: [PATCH] Document removing of accelerators https://bugzilla.gnome.org/show_bug.cgi?id=676243 --- gtk/gtkaccelmap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtkaccelmap.c b/gtk/gtkaccelmap.c index 5ab19b5fa1..8dcdc5b084 100644 --- a/gtk/gtkaccelmap.c +++ b/gtk/gtkaccelmap.c @@ -207,6 +207,9 @@ _gtk_accel_path_is_valid (const gchar *accel_path) * To change the accelerator during runtime programatically, use * gtk_accel_map_change_entry(). * + * Set @accel_key and @accel_mods to 0 to request a removal of + * the accelerator. + * * Note that @accel_path string will be stored in a #GQuark. Therefore, if you * pass a static string, you can save some memory by interning it first with * g_intern_static_string(). -- 2.30.2